<input id="allpagecount" type="hidden" value="{$allpage}">
<input id="count" type="hidden" value="{$count}">